package com.monitor.service;


import com.monitor.model.AccessLog;
import com.monitor.model.ElasticSearchOverView;
import com.monitor.model.ElasticSearchParams;

import java.util.List;

public interface ElasticSearchClientService {
    List<AccessLog> searchInRangeOfRequestTime(ElasticSearchParams params);

    ElasticSearchOverView overview(ElasticSearchParams params);

    boolean createIndex(ElasticSearchParams params);

    String createDoc(ElasticSearchParams params);

    String deleteIndex(ElasticSearchParams params);
}
